import "katex/dist/katex.min.css"; // 数学公式样式
import "highlight.js/styles/github-dark.css"; // 代码高亮样式

type Props = {
  contentHTML: string;
};

export default function MDView({ contentHTML }: Props) {
  return (
    <>
      <article
        className="prose lg:prose-xl max-w-none dark:prose-invert"
        dangerouslySetInnerHTML={{ __html: contentHTML }}
      />
    </>
  );
}
